﻿using System;
using System.Text.RegularExpressions;

namespace ConsoleApp4
{
    class Program
    {
       
        static void Main(string[] args)
        {
            Secondary sec = new Secondary("小明");

            double chinese = 98.6;
            double english = 65.5;
            sec.Score(ref chinese,ref english);
            Console.WriteLine("你的总成绩为:"+sec.total);


            int ly, ny;
            sec.Age(18,out ly,out ny);



        }   
    }       
}           
